package com.cn.ccp.bean;

/**
 * 专业bean
 * @author Administrator
 *
 */
public class SpecialtyBean {
	private int id;
	private String facultyId;//学院id
	private String facultyName ;//学院名称
	private String specialtyname;//专业名称
	private String description;//专业描述
	private boolean releaseSelect = false ;//发布树表示是否选择
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFacultyId() {
		return facultyId;
	}
	public void setFacultyId(String facultyId) {
		this.facultyId = facultyId;
	}
	public String getSpecialtyname() {
		return specialtyname;
	}
	public void setSpecialtyname(String specialtyname) {
		this.specialtyname = specialtyname;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getFacultyName() {
		return facultyName;
	}
	public void setFacultyName(String facultyName) {
		this.facultyName = facultyName;
	}
	public boolean isReleaseSelect() {
		return releaseSelect;
	}
	public void setReleaseSelect(boolean releaseSelect) {
		this.releaseSelect = releaseSelect;
	}
	@Override
	public String toString() {
		return "SpecialtyBean [id=" + id + ", facultyId=" + facultyId
				+ ", specialtyname=" + specialtyname + ", description="
				+ description + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SpecialtyBean other = (SpecialtyBean) obj;
		if (id != other.id)
			return false;
		return true;
	}
	 
	
}
